import request from '@/utils/request'
/**
 * 列表
 * @param {array} params 请求参数
 */

//供应商结算-预览
export function settlepreview(data) {
    return request({
        url: '/adminapi/supplier/v2/settle/preview',
        method: 'post',
        data: data
    })
}
//供应商结算-执行
export function suppliersubmit(data) {
    return request({
        url: '/adminapi/supplier/v2/settle/submit',
        method: 'post',
        data: data
    })
}
// 供应商结算-列表
export function supplierlist(data) {
    return request({
        url: '/adminapi/supplier/v2/settle/list',
        method: 'post',
        data: data
    })
}
// 供应商结算-订单明细列表
export function orderList(data) {
    return request({
        url: '/adminapi/supplier/v2/settle/orderList',
        method: 'post',
        data: data
    })
}
